package com.licheng.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class EmpPageQuery {
    //name=张&gender=1&begin=2007-09-01&end=2022-09
    //    //01&page=1&pageSize=10

    private String name;
    private Integer gender;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;

    Integer page = 1;
    Integer pageSize = 10;
}

